home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10190 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  902 b 

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 78 | 2e 6e 65 74 63 6f 6d 2e |Path: ix|.netcom.|
|00000010| 63 6f 6d 21 6e 65 77 73 | 0a 46 72 6f 6d 3a 20 22 |com!news|.From: "|
|00000020| 4a 61 6d 65 73 20 45 2e | 20 46 75 6c 6c 65 72 22 |James E.| Fuller"|
|00000030| 20 3c 6a 65 66 40 69 78 | 2e 6e 65 74 63 6f 6d 2e | <jef@ix|.netcom.|
|00000040| 63 6f 6d 3e 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |com>.New|sgroups:|
|00000050| 20 63 6f 6d 70 2e 6c 61 | 6e 67 2e 63 2b 2b 0a 53 | comp.la|ng.c++.S|
|00000060| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 67 65 74 73 |ubject: |Re: gets|
|00000070| 28 29 20 69 6e 20 43 2b | 2b 0a 44 61 74 65 3a 20 |() in C+|+.Date: |
|00000080| 57 65 64 2c 20 30 36 20 | 4d 61 72 20 31 39 39 36 |Wed, 06 |Mar 1996|
|00000090| 20 30 38 3a 30 36 3a 32 | 32 20 2d 30 37 30 30 0a | 08:06:2|2 -0700.|
|000000a0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 46 75 |Organiza|tion: Fu|
|000000b0| 6c 6c 65 72 20 26 20 53 | 74 6f 6e 65 0a 4d 65 73 |ller & S|tone.Mes|
|000000c0| 73 61 67 65 2d 49 44 3a | 20 3c 33 31 33 44 41 39 |sage-ID:| <313DA9|
|000000d0| 45 45 2e 31 34 41 41 40 | 69 78 2e 6e 65 74 63 6f |EE.14AA@|ix.netco|
|000000e0| 6d 2e 63 6f 6d 3e 0a 52 | 65 66 65 72 65 6e 63 65 |m.com>.R|eference|
|000000f0| 73 3a 20 3c 36 4d 41 52 | 39 36 2e 31 33 35 35 34 |s: <6MAR|96.13554|
|00000100| 33 35 37 40 73 68 72 73 | 79 73 2e 68 73 6c 63 2e |357@shrs|ys.hslc.|
|00000110| 6f 72 67 3e 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |org>.NNT|P-Postin|
|00000120| 67 2d 48 6f 73 74 3a 20 | 64 65 6e 2d 63 6f 31 32 |g-Host: |den-co12|
|00000130| 2d 32 36 2e 69 78 2e 6e | 65 74 63 6f 6d 2e 63 6f |-26.ix.n|etcom.co|
|00000140| 6d 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |m.Mime-V|ersion: |
|00000150| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000160| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000170| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000180| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000190| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|000001a0| 2d 4e 45 54 43 4f 4d 2d | 44 61 74 65 3a 20 57 65 |-NETCOM-|Date: We|
|000001b0| 64 20 4d 61 72 20 30 36 | 20 20 39 3a 30 39 3a 30 |d Mar 06| 9:09:0|
|000001c0| 32 20 41 4d 20 43 53 54 | 20 31 39 39 36 0a 58 2d |2 AM CST| 1996.X-|
|000001d0| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|000001e0| 32 2e 30 20 28 57 69 6e | 4e 54 3b 20 49 29 0a 54 |2.0 (Win|NT; I).T|
|000001f0| 6f 3a 20 62 72 69 61 6e | 40 73 68 72 73 79 73 2e |o: brian|@shrsys.|
|00000200| 68 73 6c 63 2e 6f 72 67 | 0a 0a 62 72 69 61 6e 40 |hslc.org|..brian@|
|00000210| 73 68 72 73 79 73 2e 68 | 73 6c 63 2e 6f 72 67 20 |shrsys.h|slc.org |
|00000220| 77 72 6f 74 65 3a 0a 3e | 20 0a 3e 20 49 6e 20 43 |wrote:.>| .> In C|
|00000230| 2c 20 67 65 74 73 28 73 | 74 72 69 6e 67 29 20 77 |, gets(s|tring) w|
|00000240| 69 6c 6c 20 72 65 61 64 | 20 61 20 73 74 72 69 6e |ill read| a strin|
|00000250| 67 20 66 72 6f 6d 20 73 | 74 64 69 6e 20 74 6f 20 |g from s|tdin to |
|00000260| 74 68 65 20 6e 65 77 6c | 69 6e 65 2c 0a 3e 20 77 |the newl|ine,.> w|
|00000270| 68 69 6c 65 20 73 63 61 | 6e 66 28 22 25 73 22 2c |hile sca|nf("%s",|
|00000280| 20 73 74 72 69 6e 67 29 | 20 73 74 6f 70 73 20 61 | string)| stops a|
|00000290| 74 20 74 68 65 20 66 69 | 72 73 74 20 77 68 69 74 |t the fi|rst whit|
|000002a0| 65 73 70 61 63 65 20 63 | 68 61 72 61 63 74 65 72 |espace c|haracter|
|000002b0| 2e 0a 3e 20 0a 3e 20 49 | 6e 20 43 2b 2b 2c 20 63 |..> .> I|n C++, c|
|000002c0| 69 6e 20 3e 3e 20 73 74 | 72 69 6e 67 20 73 74 6f |in >> st|ring sto|
|000002d0| 70 73 20 61 74 20 74 68 | 65 20 66 69 72 73 74 20 |ps at th|e first |
|000002e0| 77 68 69 74 65 73 70 61 | 63 65 20 63 68 61 72 61 |whitespa|ce chara|
|000002f0| 63 74 65 72 2e 0a 3e 20 | 49 73 20 74 68 65 72 65 |cter..> |Is there|
|00000300| 20 61 20 43 2b 2b 20 65 | 71 75 69 76 61 6c 65 6e | a C++ e|quivalen|
|00000310| 74 20 74 6f 20 67 65 74 | 73 28 29 3f 0a 3e 20 0a |t to get|s()?.> .|
|00000320| 3e 20 53 74 75 61 72 74 | 20 42 72 69 61 6e 20 28 |> Stuart| Brian (|
|00000330| 62 72 69 61 6e 40 73 68 | 72 73 79 73 2e 68 73 6c |brian@sh|rsys.hsl|
|00000340| 63 2e 6f 72 67 29 20 0a | 48 61 76 65 20 79 6f 75 |c.org) .|Have you|
|00000350| 20 6c 6f 6f 6b 65 64 20 | 61 74 20 69 73 74 72 65 | looked |at istre|
|00000360| 61 6d 3a 3a 67 65 74 28 | 29 20 61 6e 64 2f 6f 72 |am::get(|) and/or|
|00000370| 20 69 73 74 72 65 61 6d | 3a 3a 67 65 74 6c 69 6e | istream|::getlin|
|00000380| 65 28 29 20 3f 0a | |e() ?. | |
+--------+-------------------------+-------------------------+--------+--------+